<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorate="~{blog/layout}" th:with="title='',active='detail'">
<header th:replace="~{blog/layout::headerFragment(${title},${active})}"></header>
<body>
<div layout:fragment="content">
    <div class="content-wrap">
        <div id="content" class="content">
            <div id="posts" class="posts-expand"></div>
            <hr>
            <div class="lists-navigator clearfix" >
            </div>
<!--            导航文章-->
                <div id="nav-article"></div>
                <div class="comments" id="comments" style="opacity: 1; display: block;">
<!--                    评论表单-->
                    <div class="comment-form">
                        <form id="comments-form">
                            <input type="hidden" id="allowflag" value="1">
                            <input type="hidden" name="articleId" id="articleid">
                            <input type="hidden" name="lastId" id="lastid">
                            <input type="hidden" name="replyUserId" id="replyuserid" >
                        <div class="field">
                            <textarea id="comment-content" required="required" class="form-control" name="content" placeholder="请输入评论信息..." cols="30" rows="7"></textarea>
                        </div>
                        <div class="comment-button">
                            <button onclick="submitcomment()" type="button">回复</button>
                        </div>
                        </form>
                    </div>
                    <br><br>
<!--                    表单回复页-->
                    <div class="comment-show" id="comments-box">
                    </div>
                </div>
        </div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
    <script type="text/javascript" src="/blog/js/detail.js"></script>
</div>

</body>
</html>